package org.passeg;

import java.io.IOException;
import java.net.Socket;

/**
 * Create by bo.chen in 2018/10/9 0:23
 */
public interface Session {

    /**
     *  获取socket对象
     */
    Socket getSocket();

    /**
     *  输出日志对象
     */
    void println(String message) throws IOException;

    /**
     *  读取socket对象的输入指令
     */
    String listen() throws IOException;
}
